﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkUtils
{
    [Serializable]
    public enum InfoType
    {
        Error = 0,
        Success = 1,
        Warn = 2
    }

    [Serializable]
    public class Data
    {
        public string Ticker { get; set; }
        public float Price { get; set; }
        public Data(string tk, float px)
        {
            this.Ticker = tk;
            this.Price = px;
        }
    }

    [Serializable]
    public class Info
    {
        public InfoType infotype { get; set; }
        public string content { get; set; }
    }
}
